$OpenBSD: patch-happydoclib_docstring_StructuredText_STDOM_py,v 1.1 2005/11/22 22:13:23 alek Exp $
--- happydoclib/docstring/StructuredText/STDOM.py.orig	Tue Nov 22 22:35:29 2005
+++ happydoclib/docstring/StructuredText/STDOM.py	Tue Nov 22 22:49:18 2005
@@ -171,7 +171,7 @@ class NodeWrapper(ParentNode):
                           type=type,
                           st=type(''),
                           getattr=getattr,
-                          None=None):
+                          none=None):
 
       """
       The node immediately preceding this node.  If
@@ -182,10 +182,10 @@ class NodeWrapper(ParentNode):
       if not children:
          return None
 
-      index=getattr(self, '_DOMIndex', None)
-      if index is None:
+      index=getattr(self, '_DOMIndex', none)
+      if index is none:
          index=self._getDOMIndex(children)
-         if index is None: return None
+         if index is none: return None
 
       index=index-1
       if index < 0: return None
@@ -243,7 +243,7 @@ class NodeWrapper(ParentNode):
                           type=type,
                           st=type(''),
                           getattr=getattr,
-                          None=None):
+                          none=None):
 
       return self.getPreviousSibling(type,st,getattr,None)
       
@@ -292,7 +292,7 @@ class Node(ParentNode):
                           type=type,
                           st=type(''),
                           getattr=getattr,
-                          None=None):
+                          none=None):
       """
       The node immediately preceding this node.  If
       there is no such node, this returns None.
@@ -346,7 +346,7 @@ class Node(ParentNode):
                           type=type,
                           st=type(''),
                           getattr=getattr,
-                          None=None):
+                          none=None):
       
       return self.getPreviousSibling(type,st,getattr,None)
       
